
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shouyinji"></i>
                    <div class="name">收音机</div>
                    <div class="fontclass">.icon-shouyinji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-info"></i>
                    <div class="name">info</div>
                    <div class="fontclass">.icon-info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-closeo"></i>
                    <div class="name">close-o</div>
                    <div class="fontclass">.icon-closeo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-down"></i>
                    <div class="name">caret-down</div>
                    <div class="fontclass">.icon-caret-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-left"></i>
                    <div class="name">caret-left</div>
                    <div class="fontclass">.icon-caret-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-right"></i>
                    <div class="name">caret-right</div>
                    <div class="fontclass">.icon-caret-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-up"></i>
                    <div class="name">caret-up</div>
                    <div class="fontclass">.icon-caret-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caret-circle-right"></i>
                    <div class="name">caret-circle-right</div>
                    <div class="fontclass">.icon-caret-circle-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circle"></i>
                    <div class="name">circle</div>
                    <div class="fontclass">.icon-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-calendar"></i>
                    <div class="name">calendar</div>
                    <div class="fontclass">.icon-calendar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-home"></i>
                    <div class="name">公司名称</div>
                    <div class="fontclass">.icon-icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-store-out"></i>
                    <div class="name">出库</div>
                    <div class="fontclass">.icon-icon-store-out</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-question"></i>
                    <div class="name">问号</div>
                    <div class="fontclass">.icon-icon-question</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-check-empty"></i>
                    <div class="name">勾号</div>
                    <div class="fontclass">.icon-icon-check-empty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pause-circle-o"></i>
                    <div class="name">pause-circle-o</div>
                    <div class="fontclass">.icon-pause-circle-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio"></i>
                    <div class="name">radio</div>
                    <div class="fontclass">.icon-radio</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-user"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-home2"></i>
                    <div class="name">首页-2</div>
                    <div class="fontclass">.icon-icon-home2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-box"></i>
                    <div class="name">box</div>
                    <div class="fontclass">.icon-box</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-multi-select"></i>
                    <div class="name">multi-select</div>
                    <div class="fontclass">.icon-multi-select</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.icon-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.icon-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left"></i>
                    <div class="name">left</div>
                    <div class="fontclass">.icon-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiazai1"></i>
                    <div class="name">下载 (1)</div>
                    <div class="fontclass">.icon-xiazai1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search1"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gaojingxinxi"></i>
                    <div class="name">账号异常</div>
                    <div class="fontclass">.icon-gaojingxinxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jia"></i>
                    <div class="name">加</div>
                    <div class="fontclass">.icon-jia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jian"></i>
                    <div class="name">减</div>
                    <div class="fontclass">.icon-jian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-detail"></i>
                    <div class="name">详情</div>
                    <div class="fontclass">.icon-detail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comment-question-outline"></i>
                    <div class="name">comment-question-outline</div>
                    <div class="fontclass">.icon-comment-question-outline</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close1"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bianji"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchu"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-shanchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-changyongshili"></i>
                    <div class="name">常用示例</div>
                    <div class="fontclass">.icon-changyongshili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Loading"></i>
                    <div class="name">Loading</div>
                    <div class="fontclass">.icon-Loading</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon--"></i>
                    <div class="name">收音机</div>
                    <div class="fontclass">.icon-icon--</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinhaojieshouqi1"></i>
                    <div class="name">信号接收器</div>
                    <div class="fontclass">.icon-xinhaojieshouqi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sanjiaoyou"></i>
                    <div class="name">三角右</div>
                    <div class="fontclass">.icon-sanjiaoyou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up-copy"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.icon-up-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-warning"></i>
                    <div class="name">info</div>
                    <div class="fontclass">.icon-warning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-download-copy"></i>
                    <div class="name">出库</div>
                    <div class="fontclass">.icon-icon-download-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-store-out-copy"></i>
                    <div class="name">出库</div>
                    <div class="fontclass">.icon-icon-store-out-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-store-out-copy1"></i>
                    <div class="name">出库</div>
                    <div class="fontclass">.icon-icon-store-out-copy1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
